FROM java:8
ADD mall-monitor/target//mall-monitor-1.0-SNAPSHOT.jar //
ENTRYPOINT ["java", "-jar","-server","-XX:+HeapDumpOnOutOfMemoryError","-XX:HeapDumpPath=/var/logs/mall-monitor-gc.heap ","/mall-monitor-1.0-SNAPSHOT.jar"]
